export const option = function () {
  return {
    refreshBtn: true,
    columnBtn: true,
    border: true,
    stripe: true,
    index: true,
    editBtn: true,
    delBtn: true,
    align: 'center',
    addBtn: true,
    menu: true,
    indexLabel: '序号',
    column: [
      {
        label: '人员类型',
        labelWidth: 100,
        span: 12,
        prop: 'personnelTypeA',
        type: 'select',
        dicUrl: '/api/blade-system/dict-biz/dictionary?code=user_type',
        props: {
          label: 'dictValue',
          value: 'dictKey'
        },
        rules: [
          {
            required: true,
            message: '请输入人员类型',
            trigger: 'change'
          }
        ]
      },
      {
        label: '总人数',
        prop: 'totalPeopleA',
        type: 'number',
        maxlength: 20,
        span: 12,
        rules: [
          {
            required: true,
            message: '请输入总人数',
            trigger: 'blur'
          }
        ]
      },
      {
        label: '平均工作年限',
        prop: 'avgWorkingYearsA',
        type: 'number',
        labelWidth: 120,
        maxlength: 20,
        span: 12
      }
    ]
  }
}
